package com.kert.service.impl;

import com.kert.dao.RyDao;
import com.kert.service.RyBakService;
import org.springframework.stereotype.Service;

@Service
public class RyBakServiceImpl implements RyBakService {
    private final RyDao ryDao;
    public RyBakServiceImpl(RyDao ryDao){
        this.ryDao=ryDao;
    }

    @Override
    public void insert(){
        ryDao.insertRYbyMonth();
    }
}
